Weakly Supervised Multi-Task Representation Learning For Human Activity Analysis Using Wearables